local extension = Package:new("hearthstone", Package.SpecialPack)
local prefix = "packages.hearthstone.pkg."

hs = require "packages.hearthstone.battlegrounds.core.hs_ex"
local standard = require(prefix .. "standard")
extension:addGameMode(require(prefix .. "gamemodes.battlegrounds"))

Fk:addBoardGame {
  name = "battlegrounds",
  engine = require "packages.hearthstone.battlegrounds.core.engine",
  client_klass = require "packages.hearthstone.battlegrounds.client.client",
  room_klass = require "packages.hearthstone.battlegrounds.server.room",
  page = {
    url = "packages/hearthstone/Fk/Pages/BattleGrounds/Room.qml",
  },
}

Fk:loadTranslationTable {
  ["battlegrounds"] = "酒馆战棋",
  [":battlegrounds"] = "酒馆战棋。",
  ["#BattlegroundsStart"] = "战斗开始",
}

return {
  extension,
  standard,
}

